################################################
#
# BiscuitOS-PAGING-PF-SHMEM-THP
#
################################################
PK_PAGING_PF_SHMEM_THP_NAME        := BiscuitOS-PAGING-PF-SHMEM-THP
PK_PAGING_PF_SHMEM_THP_VERSION     := $(CONFIG_PK_PAGING_PF_SHMEM_THP_VERSION)
PK_PAGING_PF_SHMEM_THP_SITE        := $(CONFIG_PK_PAGING_PF_SHMEM_THP_URL)
PK_PAGING_PF_SHMEM_THP_GITHUB      := $(CONFIG_PK_PAGING_PF_SHMEM_THP_GITHUB)
PK_PAGING_PF_SHMEM_THP_SUBNAME     :=
PK_PAGING_PF_SHMEM_THP_BUILDARCH   := $(CONFIG_PK_PAGING_PF_SHMEM_THP_BUILDARCH)
PK_PAGING_PF_SHMEM_THP_DIR         := $(srctree)/package/PAGING/BiscuitOS-PAGING-PF-SHMEM-THP
PK_PAGING_PF_SHMEM_THP_PATCH       := $(PK_PAGING_PF_SHMEM_THP_DIR)/patch
PK_PAGING_PF_SHMEM_THP_BSBIT       := BiscuitOS-PAGING-PF-SHMEM-THP-$(PK_PAGING_PF_SHMEM_THP_VERSION).bsbit
PK_PAGING_PF_SHMEM_THP_OUT         :=
PK_PAGING_PF_SHMEM_THP_SCRIPTS     := $(srctree)/scripts/package/package-app.sh
PK_PAGING_PF_SHMEM_THP_TAR         := $(CONFIG_PK_PAGING_PF_SHMEM_THP_TAR)
PK_PAGING_PF_SHMEM_THP_PACKAGE     :=
PK_PAGING_PF_SHMEM_THP_CONFIG      := $(CONFIG_PK_PAGING_PF_SHMEM_THP_CONFIG)
SUB_TARGET                  += $(PK_PAGING_PF_SHMEM_THP_DIR)/build

PK_PAGING_PF_SHMEM_THP_sh = $(CONFIG_SHELL) $(PK_PAGING_PF_SHMEM_THP_SCRIPTS) \
                 $1X \
                 $(PK_PAGING_PF_SHMEM_THP_NAME)X \
                 $(PK_PAGING_PF_SHMEM_THP_VERSION)X \
                 $(PK_PAGING_PF_SHMEM_THP_SITE)X \
                 $(PK_PAGING_PF_SHMEM_THP_GITHUB)X \
                 $(PK_PAGING_PF_SHMEM_THP_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGING_PF_SHMEM_THP_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGING_PF_SHMEM_THP_SUBNAME)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_CONFIG)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_LIBPATH)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_CPPFLAGS)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_DPKCONFIG)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_CFLAGS)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_LDFLAGS)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_CXXFLAGS)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_ASFLAGS)X \
                 $(PK_PAGING_PF_SHMEM_THP_BSBIT)X \
                 $(PK_PAGING_PF_SHMEM_THP_BUILDARCH)X \
		 $(PK_PAGING_PF_SHMEM_THP_CSRCFILE)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_SRCFILE)X \
                 $(CONFIG_PK_PAGING_PF_SHMEM_THP_CSRCFILE)

$(PK_PAGING_PF_SHMEM_THP_DIR)/build: FORCE
	$(Q)$(call PK_PAGING_PF_SHMEM_THP_sh,$(srctree))
